/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Messenj;

import Utils.MjUtils;

/**
 *
 * @author edoardo
 */
public class HtmlConverter {

    String all;

    public HtmlConverter()
    {
        all = "<html> ";
    }

    public String convert(String mex)
    {
        String pathimg = new MjUtils().getPathByEmoticons(":)");
        String insertimage = "<img alt=\":\" src=\""+pathimg+"\">";
        mex = mex.replace(":", insertimage);
        all = all + mex + "<br>";
        return all;
    }

}
